home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group96b.txt
/
000058_icon-group-sender _Mon Nov 25 21:28:35 1996.msg
< prev
next >
Wrap
Internet Message Format
|
1997-01-02
|
1KB
Received: by cheltenham.cs.arizona.edu; Tue, 26 Nov 1996 08:57:50 MST
Message-Id: <9611260528.AA04423@mail1.halcyon.com>
To: icon-group@cs.arizona.edu
Priority: Normal
X-Mailer: Post Road Mailer (Green Edition Rel 2.0.14)
Date: Mon, 25 Nov 1996 21:28:35 PST
From: Wendell Turner <wturner@halcyon.com>
Reply-To: wturner@halcyon.com
Subject: Graphics ops without a window?
Errors-To: icon-group-errors@cs.arizona.edu
Anyone,
I have an Icon graphics program that creates an image. I then call
WriteImage to create a xxx.gif picture of the image. All of this works as
desired.
Q: Is there a way of running this as a cgi-bin script, in which case there
would be no window to do the "open( "window", "x") to? Is there a way to do
something like:
setenv DISPLAY /dev/null
icon_image_program
All I want to do is create a xxx.gif image, and use Icon if at all possible.
Wendell
P.S. I've been able to use Icon in my sideline work creating web pages.
Soon there will be about 160,000 web pages at the Library of Congress
dynamically generated by an Icon program.
P.P.S. Would the ipl folks be interested in an options-like procedure that
will accept *either* command line options, or options from "method=get" or
options from "method=post"? I use one in the LoC programs, and it makes
debugging somewhat easier, since the same program can be run from the
command line, or as a cgi-bin program.